tested with server