editing 'cd' by itself