add preview stuff