Have add event code done, tested not working