added work from the last two weeks relating to IO and modules