Add a few printlns to find a bug