using applicative for folds