added doc string to getcwd