snap serializations. complete prototype of flow