if statement to elif