complete more functions in the paragraph example