added getTroopsToDeploy method