no need to use onload method