expose view initialization method