function added for loading saved prices