fix structure to prepare random events