updated indexDeployment()
seconde try