added default array for view vars