preprocessing documentation