some work on the random output page