rename group retrieval funcion