Nit: remove the space between the function name and its parameter list (here and on the *error* function below).