Added todo: check if group is empty before rating