added utility - outputwriter