added metronome and counter