partly done groupDAO