combined clinet and server together