Implemented getValidServices method