added some to set key