generalized fancy collision