add class analysis