adding temp dictionary (tdict)