OutputWriter - work in progress