Added function to print final sentence