added generic methods for services