Adding viewAttrs