completed boolean functions