fixed initialize method