added data to preview window