checking for variable