improve Triangle