More work done on trend detection