All working key generation and instrumentation