added back extract preview