Results removed, write function is in guimain at present