Modified document to include the functions portion