Removed superfluous bolt
Added preliminary CUSUM logic