finished setting up analysis phase