added methods to service