collect res on bitwise ops