Improving performance by checking for changes on a smaller dataset
Adding aditionnal debug messages to know what's going on inside