create and query writers