add samples

simplify the tuning module