displaying working directory on stdout. fixes 2