server and client separated