change initialize method