added analysis part