added reload function.