Functions

addPreview
removePreview