Keypad .kstate question

OK I tried the above with the Keypad Creation in Setup and it compiles for that section but fails ultimately because the Variable for the KeyPad is in Setup it is not Global in scope and therefor gets lost.. and it complains that it is not used and not defined..

How could I make it so that the keypad in set-up is global instead of local to set-up