* param - number of tags
* custom writer removed