calculating view 1