boolean functions updated