use new @sample macro