add basic collision detection and response