creation of custom view