mostly finished with service. beginning api