Added function mr-add-key