renamed preso to sample