added irc functionality