message to value and value to message