previewSession method