new version of analysis