implemented vdp top level