remove unneeded test
define random()
cleanup