got collision detection with pipes working