change message format, implemented client send