convert groups to series