added reload function
pretty good now