added beginning analysis to index