refactored to open_trend