server converted to new darnit API