Updated addevent to include times