How Rhythm Works