added analysis tools