now can use view option to declare complex views