store reference to the io object