fought with IO but figured it out