get cwd to use it anywhere.