begin implementing cd/cwd