More example code and added tempo variables