minor tweaks to api: