minor changes to api