added as submodule old preliminary work