Obsolete the preview function