added comments
make output directory