Replacing perform_analysis