put selper as a service and delete print statements