more prints removed
writeToFile v0.0