added the io example to FUN with environments