added dictionary support in dictionary