draft version of grafixMask