Added Preview Function.