BitSet code completed