added view vars to serialize