fixed a misspelling of my function