And I haven't even been drinking! I apologise once more, this is better: *** # You *must* use a={}, just start as below '>>> a={} '>>> a['1']=0 '>>> a['1']+=1 '>>> a {'1': 1} *** Like I said, I am unsure of what your specific problem is? Thanks Caleb