add two new functions to bitset