Implementation of groups