Renamed loadEvent and use existing variables for previous values.