document api must work now