split the if statement into three lines