works with server