paring down to work as submodule