added triangle classes