restructure the preview