redid argument handling, folds still not implemented