popd reinstated