a test of IF construct