Adding the IO get function