Added key inject method