added enum for preview controller model type