removed old triangle class