adding a print to see why it is failing