`r2`, `r3`, `r4` are not used. Either use `r0, r1 = samples[:2]` or just use `samples[0]` below