added isInitialized Method