renamed to service and added processed = false to prepare for processing