pot value

Is this line not in the correct place?

Yes, it is in the right place. But, if you are debugging code that stores and parses what was read, the first thing you want to do is to display what was read. You are not doing that. Therefore, you are assuming that the reader code is perfect, which may not be a valid assumption.