Your advice is fantastic as per usual. The array of arrays does make a lot more sense, suggestion #3 makes even more than the current stuff. I'll try both to get a better feel how each performs, and try and be a little more clever next time. Thanks :).