replaced doall with doseq