changed analyze function to meet new project description