clean up new annotated code writer