validation

first crack at validating the prompts