[#6] Use sample method.