add bit operation snippet