Adding some extra debug to see if this code is getting invoked or not