Added a lot of stuff to trend.cs