update comments, io checking