variable checks