refactoring for install tasks
next step