replaced bitset with componentset type