remove seperate copy of rand, fix painted desert example