almost finished group_warping