moving service name to var