more validations
added set as primary