Added Validation functions