Variable declartion check is using booleans