added concatmap, fixed tab issue in folds