added the load parameter function to the code