variable check