added api client validations