checking for lack of variable and for age less than or equal to zero