as long as the callbacks are declared inline there