trying imap and multiprocessing instead