added header of run_server & run_client functions