beats and measure unrolling
but beats turning on and off is not working