Working on the preview functionality...