Assignment 9 IO