Added IO to model