alice has own wirte results to file function now