better interval timer. still broken though