adding pd_move logic