Fixed variable for prompts
took out extra if statement
Missing parenthesis