We need a return type here specifying the format of the preview