Function XY was not defined as Function!