Add some logs to see what's going on