implemented simple random event