added a sample way to load from url