Adding private methods to AnalyzeTag class