adjusted samples to match current bender api