finished analyze class