some nits
variable length sampler