add buildTrendFtl method