updated to make the load function potentially more useful off the hop