began triangle detection: