added bitmask tricks to notes