@ Foxfire: thanks. It was just the first time I've heard anyone mention "quantum functions" outside of a lecture.