added beats at beginning/end