added triangle model