implemented collision detection with explosion