Added preview controller