runnable version without average processing