gets some collision detection working