working on collision detection infrastructure