First variable and validation.

First variable and validation for that variable. While loops are
awesome.