Added a FunctionController