changed loop in sample isotope and added sample reaction code