passing message as well