new implementation file for triangle