more work with plotting averages