I think know what you trying to say, but I still confused......
Is ABCDE just symbols, could be rather 12345 or something, to get to from point they must check if you have been to point A to go to point B, if you trying to acces B and not been on point A you will ge redericted to point A is that what you trying to tell?