Added the ability to use customized view