running chart method body (unstable)