add sanity checking
clean up sample bin