start implementing group as mask