Added getOneRowGroup function