converted lists to dictionary, iterated by iteritems