Rename 'event' to 'revision'
Add receive function