initialize method