First rough trending implementation.