- add callback when we give a message to CORE