#2 create view instance