adds an else statement, which I forgot