Forming dictionary