add initialize method