debug writelines