added basic group code