homework3: uncomment debug messages