Fixed spelling of "function"