Finished debuggin client_main and server_main