added the onload hanle that we forgot