Problem to determine the trend