Check variables