code clean tri!!!