minor additions to api