changed "main" to "analysis" in analysis class