and then set `initialized = true` here.