make trend warnings configurable and add TODO