added bitwise buttons and listeners