Addded two lines of logging to see if it's reaching this point