added triPoint and tri