timer inturrupts were a bust. now there's a counter