added boolean functions