validations inside services