dict initialize method