modifyied applyMove
Merge branch 'vdev' into develop