update ch11.hs