check if variable already exists