Use single quotes for func vals ot prevent unnecessary escaping.
Use correct max offset for seq-rand.