change _if_ to take bool first