added debug line to writeAnything