What's the purpose of this compared to directly calling showPreview?