modified return method for create message invoke