remove if statemnet
Merge pull request #361 from katiewood/master

remove if statemnet