separate client from server