Rename selectrandom() to randomval()