added a debug log hopefully this works!!