in reply to Unique Sequence
(Note: this is very close to the scheme that Ovid posted seconds before above.)