updated public events example