message handler
add some command helpers