chapter1 IO