using popd and pushd