working on creating writer