added analysis for parameters (not thoroughly tested)