The error you're seeing is due to a typo in the word function. You wrote fucntion instead of function. May it be all.