splitted the process of installation in 2 parts