Function naming error causing all errors to be undefined function