implement addkey action