As for the val problem, I think you’re stuck with ...
# random
d
As for the val problem, I think you’re stuck with it unless you try something like the pattern I mention above.