use Writer as base class