adding bitwise class