refactoring isotope