use_writer as a module