method from service