switching Boolean to bool