modify header file for support callback