added initialize method to base class