added initialize method