Added settings functions