added some restrictions in the service models