improved output, longer sample