randon moons, code reordering