Sample addition program working