provides a preview