added settings to api