Closer to a working variadic imap