completed debugging code exercises