second variable with validation