simplify get_message api