compile if statements