actually think about this max_analysis thing a bit :)