Rhythm and its application to advertising