removed puzzling if statement, thanks to aaron's keen eyes