made the initialize method