added 2 rpc convinience functions to message