use shadow submodule instead of in fn unit