add code

by client.
add console control line.