added genDeployment