modified old poisition memory and made movable origin