add key source code