added onload too