debugging homework