add variable for the view generator