add nested view for tables