moving a function to scene-render.js