in the middle of creating io code