view definition example