Updated

added preview functionality