merging
refactoring SetDict =)