check for var definitions