added python-esq if else statement. Ruby guy will have to fill that in