refactor random to dummyWorld