console client, code rearrange