Nice use of volatile here, by the way!