Can you add a check for defining these vars?