working on bitsets