Add samples as an element in a result