add sample as input