set groundwork for basic collision detection