added support of more than 10 tags