sample changed (much simpler, trying to debug dataflow)