a 'preview' utility