uncomment the debug codes