add timer intr code