collisions

added collision processing