more collision and explosion code