debugging the direct version... not usable yet...