Realigns if statements