beginning of IRC module