Added and else statement.