adding in alternative method for beat timing