started working on validation for input, not working
rolled back