added function setSampleList