refactoring for installer
installer added