a timer thing from Learning Node.js