added custom view rather than using defaultt
added custom view layout