removed unused code
"add sample" button was added