move method to service