Lots more work on random pieces.