trend module almost complete