adding some stuff for xchat