This thread has given me an idea.