added simple collision detection