Completed debugging exercise