added syncs moving world and collision detection