testing on onClick event after loading