completed adding new samples
sort-of worked out add/delete