added IO#validate()