Preliminary movement code done