Second variable and validation loop.

Second variable and validation loop.