boostifying random numbers and output