checking for set variables