change to message method