Add trends support
Merge pull request #14 from widop/f-trends

Add trends support