started work on adding a tempo and offset
merged