what if you extract the if condition into a variable, instead of the comment