add single and range bitwise operations