Added second beat

Couldn't resist reading and tweaking your code. Xtools is a nicer IDE than Visual Studio...