working on validations