add "preview" logic