testing if condition