simplify
basic collision detection