added boolean and search