BUG: is instead of if.