minor

sample improvement
more efficient