Started add event code