added old position and some other small changes.