updated IO testing