- added basic view code