generalised the autonumbered groups and examples to avoid limitations