compile view 2