started working on the code for validation; having issues, will go back to