Added view definition, since this technically will work for views