more work with randomizing a grid