got code working to construct triangle set
got components working