added BootstrapThreshold class