toolkit compatible API