store value in array

added reload function.