adding example of how to create a custom view constructure