added fold_lefti