event_id variable replaced by event['rk']