change number refactor