just before move_can from new code