service that takes in parameters