add main key