move method call outside the conditional

This method is always called, so pull it out of the if / else