Made a few modifications in ARCWriter