added preview functionality
update readme