bitwise operation in filters