added view rendering code
Merge pull request #2 from jrf0110/2-view-render

View rendering variables