added variables check