getting service_new.c to compile, albeit it is not yet complete