Phrase to function plus repeat mode