only print debug info when sample is actually added