Modifying collider.cpp