added preview command