added comments to terminate virual machines method