removing debug writelines