starting the variable occurrence checker