buggy randomizer but runs