document bit bang