first variable and validation