Debug modifications in Random package