Latest version with basic analysis