added settings functions