your example seems a little bewildering to me. maybe i'm just not reading it right, but i'm not sure what parts of your example refer to what elements of your hash. also, it seems as though you are putting two different kinds of data in the same hash? even if they are similar, you might want to consider splitting the data into two different hashes, so that it is easier to process.