works with server when on