changed if/else for checkTowerMatch conditions