mreged render world functions into file to enable proper typing