fixed missing ! in two type checks, and clarified timer