print message on callback