changed ds to be a directory