updated modules to have rng schema inside schema method