add proper namespacing to the callback function