prepare samples