added code in EnemyManager