Example for adding variables to view