added 4.7 bitwise (needs rework)