Added first model validation functions