Extra Credit handle invalid input