bitmasks for sync groups. right way of doign this