removed unneeded outputpath arg