some work to preview stuff