adding dir rm first