Added hasLoaded