Implementing groups