created a simple view to render data