changing positions implemented