boilerplate view rendering stuff