change capture. add path, fetch 1step capture function.
generalize proxy.