remove use of doall.