adding main key