This is fine since you're looping over different object ids but when you have multiple events per object the `timestamp` will need to be different or else you'll just overwrite the same event over and over again.