invoke sample