Implemented events (#5)