changed cactiStyle output from max, min, last to max, avg, last