initial commit
added handling for empty pwd