store tag and index when analysing