minor change in dict creation