else statement to recursive call