Sample management inspired by nkrumm's SIMS