made initialization of callback struct compile-time constant