refactor trend data