beginning the bit MASK implementation