added tag index/delete functions