pass message in callback