first pass at collision detection