Updated IO homework