working on adding previews