minor changes for error reporting; function pointer experiment in incubator