corrected misspelling
implemented refresh method