extracted code that starts api services to its own method