added boolean operations for boolean check