writing and structure creation complete