First time through, minutes_changed is not initialized to a value (unless I missed it).

What if you set it to 0 at the top?

Robert


EDIT: You set it to a byte, maybe you get "unlucky" and...