use only extended if statements