Is this if-ing really necessary, if so, why?