random events fully working