Quiz6 code