def preview