tried to add validations