added per scene render function