add xpdr event struct