still working, randomized testing