Just need to finish MainManager analysis function