previous and average not set, but too only one value
prev and avg kind of work, neesd formatting
partially done prefs