Don't need the ntags variable, it was basically a mirror of tagList.size().