un-pseudocode changes to if/then