you should use ``$io`` as it is passed as an argument