add onload process