changed else statement