forgot to add `irc` to returned function