add 'and' and 'or' to boolean object