check  && mkdir works