backup refactoring base.js