movement collision detection
removed cache