changes  with BitIO and Wait