added initialize method
updated documentation to reflect addition of the initialize method