You are right, it is set before read, I missed it somewhere when I checked 'last5_vals'.