random events init function added