prescript viewmodel