worked out collections of running averages. and the restart command