add notation and make Richboxgroup inherit from BoxGroup