Attempted to fix basic_io (still not working!)