Sample engine