collision detection sort of working