add sample setting