Modification of text and function composition