corrected misspelling of focus function