modified faile isInitialized checks to throw runtime exception