backwards compat C ifs