added the third function to the file.