Added more outputs for debugging