first commit of analysis code