add missing call to foo()
conditional tests now must be boolean type