replace 'mapc' with 'dolist'