step 7 added with template library and all views working