add neccesary method to Analyzer class