design query output message format
update
update do_language function