debugging 22-17 22-18 errors