added analysis api