fixing the time in beat measure