don't compare booleans to "true" or "false"; it's redundant (this is still a hack, but I don't feel like puzzling out the right way to do this)