Use make_pair in an instance of the collision code.