fixing misspelled method