added headers to the initialize method