added initialize method and test