added some collision detection to dod