addition of pivot table for tags questions