adding in my first pass at input validation for this project