adapted install procedure