util.random expects function as seed