Updated: Added error message prompting for validations