updated view to be readable in example