Save data to variables and display example output