added server and other type client