move that io to a getter function.