introduced working directory as argument