Implemented initialize method