Merge pull request #9 from sonots/trend

add trend option