Adding readable method and refactorizing to use a class called AnalyzeTag