added 3 * stdev capping