render function + module split