initial commit
added error checking and basic validation display