Here's a program and source that does the following: keeps variables from being deleted when in the delete state creates a secret key to delete variables (cos) keeps reset all and reset mem from working keeps self test from starting (-: You should be able to figure out how to do just about anything once you understand this code.