multiple sample cases.
Merge pull request #43 from pfctgeorge/multiple-sample-cases

add support to multiple sample cases.