additions to API