Validate input

making sure my input works