ch11-6 now working