Added the content of the functions.