Adding key generator