onload -> ResourceManager